//go:build wireinject
// +build wireinject

package wire

import (
	"context"

	"gitee.com/mkwchecking/sr-admin/apps/session/adapter/http/api"
	"gitee.com/mkwchecking/sr-admin/apps/session/repo"
	"gitee.com/mkwchecking/sr-admin/apps/session/service"
	"gitee.com/mkwchecking/sr-admin/pkg/plugins"
	"github.com/google/wire"

	sysRepo "gitee.com/mkwchecking/sr-admin/apps/admin/repo"
)

func NewSessionApi(context.Context) (*api.SessionApi, error) {
	panic(wire.Build(
		plugins.Provider,
		api.Provider,
		service.Provider,
		sysRepo.Provider,
		repo.Provider,
	))
}
